Taking Shenzhen as an example and TAZ (traffic analysis zone) as the research unit, by means of multiple linear regression and spatial lag model, using mobile phone signaling data, urban built environment data and so on, the role of urban village in promoting job-housing balance is revealed under the premise of controlling the influence of variables such as built environment on the commuting distance. Main conclusions are as follows. Firstly, the average commuting distance of TAZ with a high proportion of urban villages is relatively short and the existence of urban village is favorable to promote job-housing balance, which is related to the large scale, scattered distribution, low rent, flexible lease period and low income of the tenants of urban villages in Shenzhen. Secondly, built environment also has significant influence on average commuting distance of residents. Increasing the degree of land use mixing, increasing the diversity of built environment, optimizing public transportation and destination accessibility will reduce the average commuting distance of TAZ residents in varying degrees and the average commuting distance of residents in TAZ with good social and economic environment is longer. Thirdly, the commuting distance of residents has obvious spatial autocorrelation.